﻿using System.Data;
using System;

namespace Apex.Commons.ConfigurationCenter
{
    public class DBConfigOptions
    {
        public Func<IDbConnection> CreateDbConnection { get; set; }
        public string TableName { get; set; } = "T_Configs";

        public bool ReloadOnChange { get; set; }

        public TimeSpan? ReloadInterval { get; set; }
    }
}
